home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / gem_stri.swf / scripts / __Packages / mx / skins / CustomBorder.as < prev    next >
Encoding:
Text File  |  2011-01-06  |  8.4 KB  |  225 lines

  1. var ┬º\x01┬º = 772;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 772)
  5.    {
  6.       set("\x01",eval("\x01") - 713);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 57)
  10.    {
  11.       set("\x01",eval("\x01") + 570);
  12.       if(┬º┬ºpop())
  13.       {
  14.          set("\x01",eval("\x01") + 39);
  15.       }
  16.    }
  17.    else if(eval("\x01") == 769)
  18.    {
  19.       set("\x01",eval("\x01") - 712);
  20.       ┬º┬ºpush(true);
  21.    }
  22.    else
  23.    {
  24.       if(eval("\x01") == 930)
  25.       {
  26.          set("\x01",eval("\x01") - 161);
  27.          prevFrame();
  28.          break;
  29.       }
  30.       if(eval("\x01") == 666)
  31.       {
  32.          set("\x01",eval("\x01") + 146);
  33.          ┬º┬ºpush(true);
  34.       }
  35.       else if(eval("\x01") == 59)
  36.       {
  37.          set("\x01",eval("\x01") + 871);
  38.          if(┬º┬ºpop())
  39.          {
  40.             set("\x01",eval("\x01") - 161);
  41.          }
  42.       }
  43.       else
  44.       {
  45.          if(eval("\x01") == 627)
  46.          {
  47.             set("\x01",eval("\x01") + 39);
  48.             ┬º┬ºpop();
  49.             return _loc1_[┬º┬ºconstant(95)]();
  50.          }
  51.          if(eval("\x01") == 422)
  52.          {
  53.             set("\x01",eval("\x01") + 392);
  54.             ┬º┬ºpush(true);
  55.          }
  56.          else if(eval("\x01") == 812)
  57.          {
  58.             set("\x01",eval("\x01") - 353);
  59.             if(┬º┬ºpop())
  60.             {
  61.                set("\x01",eval("\x01") - 37);
  62.             }
  63.          }
  64.          else
  65.          {
  66.             if(eval("\x01") == 459)
  67.             {
  68.                set("\x01",eval("\x01") - 37);
  69.                var typeof (┬º┬ºpop() << new ┬º┬ºpop()[┬º┬ºpop()]());
  70.                ┬º┬ºpush(typeof ┬º┬ºpop());
  71.                break;
  72.             }
  73.             if(eval("\x01") != 814)
  74.             {
  75.                if(eval("\x01") == 676)
  76.                {
  77.                   set("\x01",eval("\x01") + 53);
  78.                   break;
  79.                }
  80.                if(eval("\x01") == 729)
  81.                {
  82.                   set("\x01",eval("\x01") - 588);
  83.                   if(!_global.mx)
  84.                   {
  85.                      _global.mx = new Object();
  86.                   }
  87.                   ┬º┬ºpop();
  88.                   if(!_global.mx.skins)
  89.                   {
  90.                      _global.mx.skins = new Object();
  91.                   }
  92.                   ┬º┬ºpop();
  93.                   if(!_global.mx.skins.CustomBorder)
  94.                   {
  95.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().__get__width = function()
  96.                      {
  97.                         return this.__width;
  98.                      };
  99.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().__get__height = function()
  100.                      {
  101.                         return this.__height;
  102.                      };
  103.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().init = function(Void)
  104.                      {
  105.                         super.init();
  106.                      };
  107.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().createChildren = function(Void)
  108.                      {
  109.                      };
  110.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().draw = function(Void)
  111.                      {
  112.                         if(this.l_mc == undefined)
  113.                         {
  114.                            var _loc2_ = this.setSkin(mx.skins.CustomBorder.tagL,this.leftSkin);
  115.                            if(this.horizontal)
  116.                            {
  117.                               this.minHeight = this.l_mc._height;
  118.                               this.minWidth = this.l_mc._width;
  119.                            }
  120.                            else
  121.                            {
  122.                               this.minHeight = this.l_mc._height;
  123.                               this.minWidth = this.l_mc._width;
  124.                            }
  125.                         }
  126.                         if(this.m_mc == undefined)
  127.                         {
  128.                            this.setSkin(mx.skins.CustomBorder.tagM,this.middleSkin);
  129.                            if(this.horizontal)
  130.                            {
  131.                               this.minHeight = this.m_mc._height;
  132.                               this.minWidth += this.m_mc._width;
  133.                            }
  134.                            else
  135.                            {
  136.                               this.minHeight += this.m_mc._height;
  137.                               this.minWidth = this.m_mc._width;
  138.                            }
  139.                         }
  140.                         if(this.r_mc == undefined)
  141.                         {
  142.                            this.setSkin(mx.skins.CustomBorder.tagR,this.rightSkin);
  143.                            if(this.horizontal)
  144.                            {
  145.                               this.minHeight = this.r_mc._height;
  146.                               this.minWidth += this.r_mc._width;
  147.                            }
  148.                            else
  149.                            {
  150.                               this.minHeight += this.r_mc._height;
  151.                               this.minWidth = this.r_mc._width;
  152.                            }
  153.                         }
  154.                         this.size();
  155.                      };
  156.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().size = function(Void)
  157.                      {
  158.                         this.l_mc.move(0,0);
  159.                         if(this.horizontal)
  160.                         {
  161.                            this.r_mc.move(this.width - this.r_mc.width,0);
  162.                            this.m_mc.move(this.l_mc.width,0);
  163.                            this.m_mc.setSize(this.r_mc.x - this.m_mc.x,this.m_mc.height);
  164.                         }
  165.                         else
  166.                         {
  167.                            this.r_mc.move(0,this.height - this.r_mc.height,0);
  168.                            this.m_mc.move(0,this.l_mc.height);
  169.                            this.m_mc.setSize(this.m_mc.width,this.r_mc.y - this.m_mc.y);
  170.                         }
  171.                      };
  172.                      mx.skins.CustomBorder = function()
  173.                      {
  174.                         super();
  175.                      }.symbolName = "CustomBorder";
  176.                      mx.skins.CustomBorder = function()
  177.                      {
  178.                         super();
  179.                      }.symbolOwner = mx.skins.CustomBorder;
  180.                      mx.skins.CustomBorder = function()
  181.                      {
  182.                         super();
  183.                      }.version = "2.0.2.126";
  184.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().className = "CustomBorder";
  185.                      mx.skins.CustomBorder = function()
  186.                      {
  187.                         super();
  188.                      }.tagL = 0;
  189.                      mx.skins.CustomBorder = function()
  190.                      {
  191.                         super();
  192.                      }.tagM = 1;
  193.                      mx.skins.CustomBorder = function()
  194.                      {
  195.                         super();
  196.                      }.tagR = 2;
  197.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().idNames = new Array("l_mc","m_mc","r_mc");
  198.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().leftSkin = "F3PieceLeft";
  199.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().middleSkin = "F3PieceMiddle";
  200.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().rightSkin = "F3PieceRight";
  201.                      mx.skins.CustomBorder.prototype = new mx.skins.Border().horizontal = true;
  202.                      ┬º┬ºpush((mx.skins.CustomBorder.prototype = new mx.skins.Border()).addProperty("height",mx.skins.CustomBorder.prototype = new mx.skins.Border().__get__height,function()
  203.                      {
  204.                      }
  205.                      ));
  206.                      ┬º┬ºpush((mx.skins.CustomBorder.prototype = new mx.skins.Border()).addProperty("width",mx.skins.CustomBorder.prototype = new mx.skins.Border().__get__width,function()
  207.                      {
  208.                      }
  209.                      ));
  210.                      ┬º┬ºpush(ASSetPropFlags(mx.skins.CustomBorder.prototype,null,1));
  211.                   }
  212.                   ┬º┬ºpop();
  213.                }
  214.                break;
  215.             }
  216.             set("\x01",eval("\x01") - 138);
  217.             if(┬º┬ºpop())
  218.             {
  219.                set("\x01",eval("\x01") + 53);
  220.             }
  221.          }
  222.       }
  223.    }
  224. }
  225.